//
//  PayTicketViewModel.m
//  didacar
//
//  Created by 度周末网络-王腾 on 15/12/23.
//  Copyright © 2015年 dzmmac. All rights reserved.
//

#import "PayTicketViewModel.h"

@implementation PayTicketViewModel

-(id)init{
    self.ticketCount = 1;
    self.requestPayTicketModel = [[RequestPayTicketModel alloc ] init];
    self.requestPayTicketModel.MemberId = USERINFOManager.getUserInfo.MemberId;
    return [super init];
}


-(void)throughBusPay:(DealDataResultBlock)resultBlock{
    
    
    
    [[BaseHttpRequest sharedInstance] sendRequestToPost:ThroughBusPay withData:self.requestPayTicketModel alertMessage:@"" success:^(NSDictionary *dicData) {
        
    } error:^(NSString *errorMsg) {
        
    }];

}

-(void)monthTicketPay:(DealDataResultBlock)resultBlock{
    [[BaseHttpRequest sharedInstance] sendRequestToPost:MonthPay withData:self.requestPayTicketModel alertMessage:@"" success:^(NSDictionary *dicData) {
        
    } error:^(NSString *errorMsg) {
        
    }];
}

-(void)dayTicketPay:(DealDataResultBlock)resultBlock{
    [[BaseHttpRequest sharedInstance] sendRequestToPost:DayPay withData:self.requestPayTicketModel alertMessage:@"" success:^(NSDictionary *dicData) {
        
    } error:^(NSString *errorMsg) {
        
    }];

}


@end
